Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Oct 31, 2025

As of PHPCS 4.0, it is possible to selectively exclude errors from the PSR12.Files.FileHeader sniff.

This particular exclusion means that we will not enforce a blank line between the PHP open tag and the file docblock, as that would cause a lot of unnecessary code churn in the primary codebases using this ruleset.

As of PHPCS 4.0, it is possible to selectively exclude errors from the `PSR12.Files.FileHeader` sniff.

This particular exclusion means that we will not enforce a blank line between the PHP open tag and the file docblock, as that would cause a lot of unnecessary code churn in the primary codebases using this ruleset.
@jrfnl jrfnl added this to the 1.2.0 milestone Oct 31, 2025
@jrfnl jrfnl merged commit 88e2f12 into main Oct 31, 2025
3 checks passed
@jrfnl jrfnl deleted the feature/exclude-blank-line-before-file-docblock branch October 31, 2025 20:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants